using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for PhieuGhiDanhBL
/// </summary>
namespace BusinessLogic 
{
    public class PhieuGhiDanhBL 
    {
    	#region Private Variables
		PhieuGhiDanhDAL objPhieuGhiDanhDAL;
		#endregion
		
        #region Public Constructors
        public PhieuGhiDanhBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objPhieuGhiDanhDAL=new PhieuGhiDanhDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(PhieuGhiDanh objPhieuGhiDanh)
        {
            return objPhieuGhiDanhDAL.Insert(objPhieuGhiDanh);
        }

        public int Update(PhieuGhiDanh objPhieuGhiDanh)
        {
             return objPhieuGhiDanhDAL.Update(objPhieuGhiDanh);

        }

        public int Delete(PhieuGhiDanh objPhieuGhiDanh)
        {
             return objPhieuGhiDanhDAL.Delete(objPhieuGhiDanh);

        }

         public int DeleteAll()
        {
             return objPhieuGhiDanhDAL.DeleteAll();
        }

        public PhieuGhiDanh Select(PhieuGhiDanh objPhieuGhiDanh)
        {
            return objPhieuGhiDanhDAL.Select(objPhieuGhiDanh);
        }

        public ArrayList SelectAllToArray( )
        {
         return objPhieuGhiDanhDAL.SelectAllToArray();
        }
        
        public DataTable SelectAll( )
        {
         return objPhieuGhiDanhDAL.SelectAll();
        }

        public DataTable ListPhieuGhiDanhDangKy()
        {
            return objPhieuGhiDanhDAL.SelectTrangThaiDangKy();
        }


     
#endregion          
    
    }

}
